import App from '../App'

const msite = r => require.ensure([], () => r(require('../page/msite/msite')), 'msite')
const one = r => require.ensure([], () => r(require('../page/msite/one')), 'one')


export default [{
    path: '/',
    component: App, //顶层路由，对应index.html
    children: [ //二级路由。对应App.vue

        //首页城市列表页
        {
            path: '/',
            component: one
        },
         //首页城市列表页
         {
            path: '/one',
            component: one
        },
        //所有商铺列表页
        {
            path: '/msite',
            component: msite,
            meta: { keepAlive: true },
        }

    ]
}]
